/* 
 * File:   labelled_line_edit.hpp
 * Author: jolo
 *
 * Created on 5. Oktober 2011, 20:43
 */

#ifndef WIDGETS_LABELLED_LINE_EDIT_HPP
#define	WIDGETS_LABELLED_LINE_EDIT_HPP

#include "line_edit.hpp"

namespace widgets
{
    class field_label;
    class widget_panel;
    
    class labelled_line_edit : public line_edit
    {
        Q_OBJECT
    public:
        labelled_line_edit(widget_panel* p, const QString& lbl);
        virtual ~labelled_line_edit();
        
        field_label* label() const { return lbl_; }
        
    private:
        field_label* lbl_;
    };
}

#endif	/* LABELLED_LINE_EDIT_HPP */

